package com.yy.wga.goods.service.api.response.bind;

import com.alibaba.fastjson.annotation.JSONField;
import com.yy.wga.resource.service.api.response.BaseApiDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class GetBindSharerListResp extends BaseApiDTO implements Serializable {

    @JSONField(name = "sharer_info_list")
    private List<SharerInfo> sharerInfoList;

    @JSONField(name = "next_key")
    private String nextKey;

    @Data
    public static class SharerInfo {

        @JSONField(name = "sharer_appid")
        private String sharerAppid;

        @JSONField(name = "bind_time")
        private long bindTime;

        @JSONField(name = "commission_ratio")
        private int commissionRatio;

        @JSONField(name = "commission_type")
        private int commissionType;
    }
}